﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace EQual.MainModule
{
    /// <summary>
    /// Interaction logic for DetailsContainer.xaml
    /// </summary>
    public partial class DetailsContainer : UserControl
    {
        public DetailsContainer()
        {
            InitializeComponent();
            
        }

        public void AddView(object   view)
        {
            if (view is UIElement)
            {
                stackPanel1.HorizontalAlignment = HorizontalAlignment.Left;
                stackPanel1.Children.Add(view as UIElement);

            }
        }
    }
}
